<template>
<div>
<!--使用组件,给name属性传入不同的用户姓名-->
<HelloCom name =" Jim" ></HelloCom>
<HelloCom name = " Lily" ></HelloCom>
<HelloCom name =" Bob" ></HelloCom>
</div>
</template>
<script>
import HelloCom from " ./components/HelloCom. vue";
export default{
    //注册组件
    components:{
        HelloCom,
    },
};
</script>
<style scoped>
</style>